package com.boyiis.sell.model.vo;

import lombok.Data;

import java.io.Serializable;

@Data
public class Result<T> implements Serializable{
    /** 错误码. */
    private Integer code;

    /** 提示信息. */
    private String msg;

    /** 具体内容. */
    private T data;

    public Result(){
    }

    public Result(Integer code, String msg){
        this.code = code;
        this.msg = msg;
    }
}
